package com.dog.basics.bean.dto.api.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 意见反馈表
 * </p>
 *
 * @author guoy
 * @since 2020-03-23
 */
@Data
public class AddPowderSupplyDto implements Serializable {

    /**
     * 设备code
     */
    @NotBlank(message = "设备code不能为空")
    @ApiModelProperty(value = "设备code", dataType = "String", required = true)
    private String code;
    /**
     * 添加供粉量
     */
    @NotNull(message = "添加供粉量不能为空")
    @ApiModelProperty(value = "添加供粉量", dataType = "BigDecimal", required = true)
    private BigDecimal powderSupply;

}
